package com.library.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 借书DTO
 */
@Data
public class BorrowDTO {
    
    @NotNull(message = "图书ID不能为空")
    private Long bookId;
}

